#ifndef DEBUG_HELPER_H
#define DEBUG_HELPER_H

#if defined(_DEBUG) || defined(DEBUG)

#include <iostream>

#define PRINT_MATRIX_SHAPE(matrix) std::cout << __FUNCTION__ << " " << __LINE__ << " " #matrix ":" << matrix.cols() << "," << matrix.rows() << std::endl;

#define PRINT_MATRIX(matrix) std::cout << __FUNCTION__ << " " << __LINE__ << " " #matrix ":\n" \
                                       << matrix << std::endl;

#else

#define PRINT_MATRIX_SHAPE(matrix)

#define PRINT_MATRIX(matrix)

#endif // defined(_DEBUG) || defined(DEBUG)

#endif // !DEBUG_HELPER_H
